Skip to content

Conversation

@Twey
Copy link
Contributor

@Twey Twey commented Nov 3, 2025

Motivation

Currently we have one tracing entrypoint in linera-base to be split between our various tracing implementations. This entrypoint has a different implementation for each of our three supported platforms (unix, web, and Linera), which makes the conditional compilation quite complicated.

Proposal

Instead, move the two present implementations onto target-specific codepaths (native to linera-service, which currently functions as a catch-all crate for all our Linera UNIX binaries, and Web to linera-web).

linera-summary now doesn't use this, but doesn't really need to (it's a CI tool). It would be nice in the future to split out CLI utilities like input/output formats from linera-service into a crate that can be reüsed, and split linera-service into different crates that depend on that.

Test Plan

CI. The existing test has been ported to the new structure.

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

Links

@Twey Twey added the refactor label Nov 3, 2025
@Twey Twey force-pushed the split-tracing branch 3 times, most recently from ac3e227 to ea5d957 Compare November 3, 2025 20:57
@Twey Twey requested a review from ndr-ds November 6, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant